package com.leo.stockmarket.service;

import com.leo.stockmarket.bean.Article;
import com.leo.stockmarket.util.PageRequest;
import com.leo.stockmarket.util.PageResult;

import java.util.List;

/**
 * @author 890231 lxj
 * @version 1.0
 * @date 2020/8/19 10:14
 */
public interface ArticleService {

    Integer insert(Article article);

    PageResult queryPage(PageRequest pageRequest);

    Article queryById(String businessId);

    List<Article> queryListBySubjectId(String subjectId, String type);
}
